package com.fy.service.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.service.IService;
import com.fy.common.dto.ChatSessionMuteDto;
import com.fy.common.dto.ChatSessionTopDto;
import com.fy.common.entity.SkImChatSession;
import com.fy.framework.common.model.R;

import java.util.List;

/**
 * @author zhshuo
 * @date 2021/12/13 11:14
 */
public interface SkImChatSessionService extends IService<SkImChatSession>{
    R<List<SkImChatSession>> list();

    R<?> top(ChatSessionTopDto chatSessionId);

    R<?> mute(ChatSessionMuteDto sessionMuteDto);

    void del(String chatSessionId);

    void clear(String chatSessionId);

    void topOrMuteSet(SkImChatSession chatSession);
}
